import baseService from '@/utils/http/axios'
import { Basic } from './types'


export const getPrintRecord: () => Promise<Basic> = (id) => {
  const api = `/manage/print/record/${id}`
  return baseService.get(api)
}
/**
 * {
 * "pageIndex": 1,
 * "pageSize": 10
 * }
 * @param params
 */
export const listPrintRecord: (params: Object) => Promise<Basic> = (params) => {
  const api = `/manage/print/record/page`
  return baseService.post(api, params)
}

